<ion-header>
    <ion-toolbar>
        <ion-buttons start>
            <button ion-button (click)="dismiss()">返回</button>
        </ion-buttons>
        <ion-title>
            付款计划列表
        </ion-title>
    </ion-toolbar>
</ion-header>
<ion-content class='task-detail' >
    <ion-card>
    <ion-list class="first-layer" *ngFor="let item of cashPlanList">
        <ion-item (click)="checkIsSelected(item)">
            <ion-row>
                <ion-col>第{{item[0]["vaule"]}}期</ion-col>
                <ion-col text-right>
                    <ion-icon *ngIf="!item.isShow" name="arrow-forward"></ion-icon>
                    <ion-icon *ngIf="item.isShow" name="arrow-down"></ion-icon>
                </ion-col>
            </ion-row>
        </ion-item>
        <ion-item *ngFor="let data of item; let i = index;" [hidden]="!item.isShow">
            <ion-row>
                <ion-col class="colName">{{data.key}}</ion-col>
                <ion-col class="colVal" text-right>{{data.vaule}}</ion-col>
            </ion-row>
        </ion-item>
    </ion-list>
    </ion-card>
</ion-content>